package com.jy.rhin.model.body.zhongxingjsbdj;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class ZhenDuanJL {
    //确诊日期
    @XPath(path = "/entry/observation/code[@code='DE05.01.071.00']/../effectiveTime/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_01_034_00, nullable = true))
    String queZhenRQ;
    //重性精神疾病名称代码
    @XPath(path = "/entry/observation/code[@code='DE05.01.071.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_01_071_00, nullable = true))
    CodeObject jiBingDM;
    //确诊医疗机构名称
    @XPath(path = "/entry/observation/code[@code='DE05.01.071.00']/../performer/assignedEntity/representedOrganization/name/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE08_10_013_00, nullable = true))
    String queZhenYLJGMC;
}
